package com.backend.securitiessystem.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 爬虫日志实体类
 *
 * @author tuyufeng
 * @date 2024/05/19
 */
@TableName("tb_python_log")
@Data
@ApiModel("爬虫日志实体类")
public class CrawlerLog implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer logId;

    @ApiModelProperty("爬虫网址")
    private String url;

    @ApiModelProperty("爬虫行为说明")
    private String state;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @ApiModelProperty("爬虫的数据表(1: 指数, 2: 新股 ,3: 快讯, 4: 资金流, 5:涨跌幅)")
    private Integer tableId;

    private static final long serialVersionUID = 1L;
}